package com.wutianyi.module.commons;

/**
 * @author hanjiewu sql参数
 */
public class Query {
	
	private int cId;
	private int pId;
	private int position;
	private int pageSize;
	
	public Query(int cId, int pId) {
		this.cId = cId;
		this.pId = pId;
	}
	
	public Query() {
		
	}
	
	public Query(int cId, int position, int pageSize) {
		this.cId = cId;
		this.position = position;
		this.pageSize = pageSize;
	}
	
	public int getcId() {
		return cId;
	}
	
	public void setcId(int cId) {
		this.cId = cId;
	}
	
	public int getPosition() {
		return position;
	}
	
	public void setPosition(int position) {
		this.position = position;
	}
	
	public int getPageSize() {
		return pageSize;
	}
	
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
	public int getpId() {
		return pId;
	}
	
	public void setpId(int pId) {
		this.pId = pId;
	}
	
}
